﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication
{
    public class BoxClass
    {
        public void Boxing()
        {
            int a = 100;
            object o = a;
        }
        public void UnBoxing()
        {
            int a = 100;
            object o = a;
            int b = (int)o;
        }
        public void MutiBoxing()
        {
            Int32 v = 5;
            Object o = v;
            v = 123;

            Console.WriteLine(v + "," + (Int32)o);
        }
    }
}
